<?php
if (eregi("settings.inc.php",$_SERVER['SCRIPT_NAME'])) {
    Header("Location: index.php");
    die();
}


// Globale Variablen
define ("GLOBAL_SERVER", $_SERVER['SERVER_NAME']); // server name
//$_GET=$HTTP_GET_VARS; // get-vars
define ("GLOBAL_SELF", eregi_replace ("^/", "", $_SERVER['SCRIPT_NAME'])); // the relative url of a page
define ("GLOBAL_QUERY", $_SERVER['QUERY_STRING']); // query string
define ("GLOBAL_IP", $_SERVER['REMOTE_ADDR']); // ip number

$full_path = GLOBAL_SELF; if (GLOBAL_QUERY != "") { $full_path.="?".GLOBAL_QUERY; } // get the full path
define ("GLOBAL_FULL_PATH", $full_path); // the full path of a page

//$POST_VARS=$HTTP_POST_VARS; # old setting
$POST_VARS=$_POST;

// admin email
$_ADMIN_EMAIL="webmaster@dankezu.de";

class Tables {
    // table names
        var $online = "dankezu_online"; // table with users which are online
        var $dir    = "dankezu_dir"; // table with directory data
        var $page   = "dankezu_file"; // table with file data
}
?>